.navbar.navbar-inverse#navbar-fix
  .navbar-inner
    .container
      %a.btn.btn-navbar(data-toggle="collapse" data-target=".nav-collapse")
        %span.icon-bar
        %span.icon-bar
        %span.icon-bar
      .nav-collapse.collapse
        %ul#nav.nav
          %li{:class=>"#{'active' if page.real_page.output_path.start_with?('/index') }" }<
            %a(href="#{site.base_url}/") Home
          %li{:class=>"#{'active' if page.real_page.output_path.start_with?('/about') }" }<
            %a(href="#{site.base_url}/about/") About
          %li{:class=>"#{'active' if page.real_page.output_path.start_with?('/news') }" }<
            %a(href="#{site.base_url}/news/") News
          %li{:class=>"#{'active' if page.real_page.output_path.start_with?('/downloads') }" }<
            %a(href="#{site.base_url}/downloads/") Downloads
          %li{:class=>"#{'active' if page.real_page.output_path.start_with?('/docs') }" }<
            %a{:href=>"http://docs.wildfly.org"} Documentation
          %li{:class=>"#{'active' if page.real_page.output_path.start_with?('/source') }" }<
            %a(href="http://github.com/wildfly/wildfly") Source Code
          %li{:class=>"#{'active' if page.real_page.output_path.start_with?('/gethelp') }" }<
            %a(href="#{site.base_url}/gethelp/") Get Help
          %li{:class=>"#{'active' if page.real_page.output_path.start_with?('/joinus') }" }<
            %a(href="#{site.base_url}/joinus/") Join Us
          %li{:class=>"#{'active' if page.real_page.output_path.start_with?('/swarm') }" }<
            %a(href="https://thorntail.io") Thorntail
          %li{:class=>"#{'active' if page.real_page.output_path.start_with?('/ci') }" }<
            %a{:href=>"https://ci.wildfly.org/"} CI
          %li.dropdown
            %a.dropdown-toggle(href="#" data-toggle="dropdown")<
              = precede 'Follow Us ' do
                %b.caret>
            %ul.dropdown-menu.projectsocialmedia
              %li<
                %a(href="http://twitter.com/WildFlyAS")<
                  %img(src="#{site.jborg_images_url}/common/socialmedia_icon40_twitter.png")
= breadcrumb(page.real_page.output_path)
